﻿@using USERS.CYT369.COM.MODELS.Terms
@using USERS.CYT369.COM.Models
@model IQueryable<Terms>
@{
    ViewBag.Title = "协议中心";
    ViewBag.HeaderName = "协议中心";
    Layout = "_RuleLayout";

}

<form class="search-area" method="post" action="~/Rules/Index">
    <input type="search" class="search" name="searchkey" autocomplete="off" placeholder="请输入协议名称或关键字" />
    <input type="submit" class="search-btn" value="搜 索" />
</form>

<ul class="rule-list">
    @if (Model != null)
    {
        foreach (var item in Model)
        {
            <li>
                <a href="~/Rules/RuleView/@Base64.ObjectToBase64(new { RuleID = item.Id })" target="_blank"><i class="fa fa-dot-circle-o"></i>@item.Name</a>
            </li>
        }
    }
</ul>

